package com.zebra.demo.person.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zebra.base.po.BaseEntity;
import com.zebra.demo.person.entity.DemoPerson;
import com.zebra.demo.person.mapper.DemoPersonMapper;
import com.zebra.demo.person.service.DemoPersonService;
import com.zebra.base.service.impl.ZebraBaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 销魂钉
 * @since 2020-05-28
 */
@Service
public class DemoPersonServiceImpl extends ZebraBaseServiceImpl<DemoPersonMapper, DemoPerson> implements DemoPersonService {


    @Override
    public IPage<BaseEntity> query(Page page, QueryWrapper<DemoPerson> queryWrapper) {
        return this.page(page, queryWrapper);
    }
}
